projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a71dc4d
)
(SIGNAL_THREAD_CHECK): Use pthread_equal.
author
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Fri, 26 Jan 2007 08:36:24 +0000
(08:36 +0000)
committer
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Fri, 26 Jan 2007 08:36:24 +0000
(08:36 +0000)
src/syssignal.h
patch
|
blob
|
history
diff --git
a/src/syssignal.h
b/src/syssignal.h
index a4e3fcb3e1b729f0a45c7019202b57ca1f2a3a23..36292670bc6f69b8b609e3528a37d842885d6f6d 100644
(file)
--- a/
src/syssignal.h
+++ b/
src/syssignal.h
@@
-210,7
+210,7
@@
char *strsignal ();
#ifdef HAVE_GTK_AND_PTHREAD
#define SIGNAL_THREAD_CHECK(signo) \
do { \
- if (
pthread_self () != main_thread)
\
+ if (
!pthread_equal (pthread_self (), main_thread))
\
{ \
/* POSIX says any thread can receive the signal. On GNU/Linux \
that is not true, but for other systems (FreeBSD at least) \